<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<script>
function PopupCenter(pageURL, title,w,h) {
var left = (screen.width/2)-(w/2);
var top = (screen.height/2)-(h/2);
var targetWin = window.open (pageURL, title, 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width='+w+', height='+h+', top='+top+', left='+left);
} 

function reload(){
	window.location.href=window.location.href;
}

</script>

<style type="text/css">
#top{
	top: 0;
}
.scrollable { width:1100px; height:500px; overflow-y:auto; overflow-x:auto; clip-rect:(0px, 1100px, 500px, 0px); }
</style>
</head>
<body onfocus="reload()">
<table><tr><td  width="1060" id="top" valign="top">
		<a href="editHostelDetails.action?type=addnewhostel"><font style="font-size: small;"><img alt="" src="images/plus.png">Create New Event</font></a>
		&emsp;
		<s:a action="display_my_events.action"> <font style="font-size: small;"><img alt="" src="images/my_events.png">My Events
				</font></s:a><font color="white" style="background-color:red; font-size: small;">&ensp;<s:property value="myeventscount"/>&ensp;</font>
		&emsp;
			<s:a action="incoming_events.action"> <font style="font-size: small;"><img alt="" src="images/incoming_events.png">Incoming Events
				</font></s:a><font color="white" style="background-color:red; font-size: small;">&ensp;<s:property value="incomingeventscount"/>&ensp;</font></td>
				<td width="500" align="right"><img alt="" src="images/search.png"><input type="text" id="search" size="50" />
		</td><td width="20"></td>
		</tr></table>
<div><s:action name="display_my_events" executeResult="true"></s:action></div>
<div><table width="800px">
		<tr><td><input type="submit" value="Delete Selected Items"/></td>
		</tr>
	</table>
			</div>
</body>
</html>